package com.example.musicdemo.ui.activity

import android.view.inputmethod.EditorInfo
import android.widget.TextView
import com.example.musicdemo.R
import com.example.musicdemo.base.BaseActivity
import kotlinx.android.synthetic.main.activity_search.*
import org.jetbrains.anko.toast

class SearchActivity : BaseActivity() {
    override fun getLayoutId(): Int {
        return R.layout.activity_search
    }

    override fun initListener() {
        super.initListener()
        ed_search.setOnEditorActionListener {
                _, actionId, _ ->
            if (actionId == EditorInfo.IME_ACTION_SEARCH){
            }
            false
        }
    }
}